package cn.dengta.webapp.push.dto;

import java.io.Serializable;
import java.util.List;

import cn.dengta.common.model.Messager;
import cn.dengta.webapp.base.vo.AbstractVO;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SignTaskDTO extends AbstractVO<Void> {

	/** 标题 */
	String name;
	/** 信息 */
	String msg = "You can get reward every day!";
	/** 是否可签到 */
	Boolean canSign;
	/** 连续签到天数 */
	Integer continuousSignCount;
	/** 签到日历 */
	List<SignEntry> signEntry;

	@Getter
	public static class SignEntry implements Serializable {

		/** 标题 */
		String title;
		/** 图标 */
		String icon;
		/** 是否已签到 */
		Boolean signed;
		/** 数量 */
		Integer num;

		public SignEntry(String title, String icon, boolean signed, Integer num) {
			this.title = title;
			this.icon = icon;
			this.signed = signed;
			this.num = num;
		}

	}

}
